package com.ruoyi.labdata.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约及参数人员对象 lab_reservation_parameter_personnel
 * 
 * @author ruoyi
 * @date 2022-03-29
 */
public class LabReservationParameterPersonnel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 预约ID */
    private Long labReservationId;

    /** 工(学)号 */
    @Excel(name = "工(学)号")
    private String applicantNo;

    /** 手机 */
    @Excel(name = "手机")
    private String applicantPhone;

    /** 学院 */
    @Excel(name = "学院")
    private Long applicantOrgId;
    
    private String applicantOrgName;

    // 职称
    private String title;

    // 邮箱
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getApplicantOrgName() {
		return applicantOrgName;
	}

	public void setApplicantOrgName(String applicantOrgName) {
		this.applicantOrgName = applicantOrgName;
	}

	/** 安全学分 */
    @Excel(name = "安全学分")
    private String applicantSafetyCredits;

    // 人员id
    private Long applicantId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String applicantName;

    /** 班级 */
    @Excel(name = "班级")
    private String applicantClassNo;

    /** 人员最近学习日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "人员最近学习日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicantLastUse;

    /** 类型(0-预约人员 1-参与人员) */
    @Excel(name = "类型(0-预约人员 1-参与人员)")
    private String type;

    /** 创建人 */
    private Long createUserId;

    public Long getApplicantId() {
        return applicantId;
    }

    public void setApplicantId(Long applicantId) {
        this.applicantId = applicantId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLabReservationId(Long labReservationId) 
    {
        this.labReservationId = labReservationId;
    }

    public Long getLabReservationId() 
    {
        return labReservationId;
    }
    public void setApplicantNo(String applicantNo) 
    {
        this.applicantNo = applicantNo;
    }

    public String getApplicantNo() 
    {
        return applicantNo;
    }
    public void setApplicantPhone(String applicantPhone) 
    {
        this.applicantPhone = applicantPhone;
    }

    public String getApplicantPhone() 
    {
        return applicantPhone;
    }
    public void setApplicantOrgId(Long applicantOrgId) 
    {
        this.applicantOrgId = applicantOrgId;
    }

    public Long getApplicantOrgId() 
    {
        return applicantOrgId;
    }
    public void setApplicantSafetyCredits(String applicantSafetyCredits) 
    {
        this.applicantSafetyCredits = applicantSafetyCredits;
    }

    public String getApplicantSafetyCredits() 
    {
        return applicantSafetyCredits;
    }
    public void setApplicantName(String applicantName) 
    {
        this.applicantName = applicantName;
    }

    public String getApplicantName() 
    {
        return applicantName;
    }
    public void setApplicantClassNo(String applicantClassNo) 
    {
        this.applicantClassNo = applicantClassNo;
    }

    public String getApplicantClassNo() 
    {
        return applicantClassNo;
    }
    public void setApplicantLastUse(Date applicantLastUse) 
    {
        this.applicantLastUse = applicantLastUse;
    }

    public Date getApplicantLastUse() 
    {
        return applicantLastUse;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("labReservationId", getLabReservationId())
            .append("applicantNo", getApplicantNo())
            .append("applicantPhone", getApplicantPhone())
            .append("applicantOrgId", getApplicantOrgId())
            .append("applicantSafetyCredits", getApplicantSafetyCredits())
            .append("applicantName", getApplicantName())
            .append("applicantClassNo", getApplicantClassNo())
            .append("applicantLastUse", getApplicantLastUse())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("createUserId", getCreateUserId())
            .toString();
    }
}
